package com.luboyan.CBillbill.mapper.user.auth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luboyan.CBillbill.dao.user.auth.AuthRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * 角色页面访问权限
 */
@Mapper
public interface AuthRoleMenuMapper extends BaseMapper<AuthRoleMenu> {

    /**
     * 查询角色所对应的页面访问权限
     */
    List<AuthRoleMenu> getRoleMenusByRoleIds(@Param("roleIds") Set<Long> roleIdS);
}
